<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" />
</head>
<body>
<div class="fenye row-fluid" th:fragment="pageBlock">

    <div class="span8">
        <p>共<span th:text="${formBean.total}"></span>条数据， 共<span th:text="${formBean.pages}"></span>页</p>
        <input type="hidden" th:field="*{pageNum}"/>
        <input type="hidden" th:field="*{isFirstPage}"/>
        <input type="hidden" th:field="*{isLastPage}"/>
        <input type="hidden" th:field="*{pages}"/>
    </div>
    <div class="span4">
        <div class="btn-group">
            <button type="submit" th:name="pageActionNm" th:value="1" class="btn btn-default">首页</button>
            <button type="submit" th:name="pageActionNm"  th:value="${formBean.prePage}" class="btn btn-default">上一页</button>
            <button type="submit" class="btn btn-default" disabled="disabled">
                <span th:text="${formBean.pageNum}"></span>
            </button>
            <button type="submit"  th:name="pageActionNm"  th:value="${formBean.nextPage}" class="btn btn-default">下一页</button>
            <button type="submit" th:name="pageActionNm"  th:value="${formBean.pages}" class="btn btn-default">尾页</button>
        </div>
    </div>

</div>

</body>
</html>